<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/10/3 0003
  Time: 20:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<html>
<head>
    <title>Title</title>
    <link href="../css/index.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link href="../css/style.css" rel="stylesheet" type="text/css">
    <link rel='stylesheet' href='https://unicons.iconscout.com/release/v2.1.9/css/unicons.css'>
    <link rel="stylesheet" type="text/css" href="../css/foot.css" />
    <link href="../css/index01.css" rel="stylesheet">
    <link href="../css/loading.css" rel="stylesheet" type="text/css">
    <style>
        html {
            font-family: 微软雅黑, serif;
            color: #333333;
        }

        a {
            color: #1D8CE0;
            cursor: pointer;
        }

        * {
            margin: 0px;
            padding: 0px;
        }
    </style>
    <script>
        function login(){
            if (document.getElementById("login").style.display==="none") {
                document.getElementById("login").style.display="block";
            }else {
                document.getElementById("login").style.display="none";
            }
        }
    </script>
</head>
<body style="background: #eee;">

<%--导航条--%>
<%@include file="../common/nav.jsp"%>



<div  style="height: 600px;width: 65%;margin: 100px auto;text-align: center;background: white;border-radius: 5px;">
    <div style="padding-top: 50px"><h3>Java测试一</h3></div>
    <div style="margin: 0 auto ;" >
        <table class="table table-striped text-center" style="width: 50%;margin-left: 25%;margin-top: 50px;border: 2px solid #eee">
            <thead>
            <tr>
                <td>题型</td>
                <td>题量</td>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>单选题</td>
                <td>${count[0]}</td>
            </tr>
            <tr>
                <td>多选题</td>
                <td>${count[1]}</td>
            </tr>
            <tr>
                <td>简答题</td>
                <td>${count[2]}</td>
            </tr>
            <tr>
                <td>编程题</td>
                <td>${count[3]}</td>
            </tr>
            </tbody>
        </table>
    </div>
    <div style="padding-top: 50px;"><button id="begin" class="btn-info" onclick="begin()" style="width: 200px;height: 50px;border: none;">
        <%--<a href="'/yuezhi/parper/manchoose.action?parperId='+${count[4]}"></a> --%>
        开始考试</button></div>
    <div style="background: #eee;height: 150px;width: 60%;margin: 30px auto;">
        <h4 style="line-height: 50px;">试卷说明</h4>
        <div style="line-height: 30px;padding-top: 10px;border-radius: 5px;">
            1.本套试卷来源于网上，由牛客网注册用户提供，除非经特别声明，牛客网不拥有该资料版权，亦不承担任何法律责任。<br>
            2.未经网站或作者的同意不得转载，否则构成侵权，本网站或作者保留诉诸法律的权利。<br>
            3.如发现本网站载有侵犯您著作权的侵权信息，可依法向我们提出权利申请，申请方式点击查看。
        </div>
    </div>
</div>


<script type="text/javascript" src="../js/jquery.min.js" ></script>
<script type="text/javascript" src="../js/bootstrap.min.js" ></script>

<script>
    function begin() {

        //将试卷号,和分数传给后端
        $.post("/yuezhi/parper/wrongtopicadd.action",{"checkQues":checkQues2},function () { })


        //将parperId传给单选题
        var parperId =  ${count[4]};
        window.location="/yuezhi/parper/choose.action?parperId="+ parperId ;
    }

</script>

</body>
</html>
